package com.ewo.mapper;

import com.ewo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

@Mapper
public interface UserMapper {

    //查找所有用户
    public List<User> findAllUser ();

    //添加用户
    public int addUser(User user);

}
